'use strict';

function router(app) {
  app.router.post('/menulist',app.controller.menu.findList)
  app.router.post('/menucreate',app.controller.menu.create)
  app.router.post('/menulisttree',app.controller.menu.showMenuTree)
  app.router.post('/menulistbyid',app.controller.menu.findById)
  app.router.post('/menuedit',app.controller.menu.edit)
  app.router.post('/menudelete',app.controller.menu.delete)
}
module.exports = {
  router,
};
